package com.liu.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;


import java.io.Serializable;
import java.util.Date;

/**
 * @author : http://www.chiner.pro
 * @date : 2022-4-2
 * @desc : 服务-宠物训练项目
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ServeTrainItem implements Serializable,Cloneable{
    /** id */
    private Integer id ;
    /** 宠物训练id */
    private Integer tId ;
    /** 服从命令 */
    private Integer obeyOrder ;
    /** 行为纠正 */
    private Integer behaviorCorrect ;
    /** 技巧训练 */
    private Integer skillTraining ;
    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date ctime ;
    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date utime ;

    /** id */
    public Integer getId(){
        return this.id;
    }
    /** id */
    public void setId(Integer id){
        this.id=id;
    }
    /** 宠物训练id */
    public Integer getTId(){
        return this.tId;
    }
    /** 宠物训练id */
    public void setTId(Integer tId){
        this.tId=tId;
    }
    /** 服从命令 */
    public Integer getObeyOrder(){
        return this.obeyOrder;
    }
    /** 服从命令 */
    public void setObeyOrder(Integer obeyOrder){
        this.obeyOrder=obeyOrder;
    }
    /** 行为纠正 */
    public Integer getBehaviorCorrect(){
        return this.behaviorCorrect;
    }
    /** 行为纠正 */
    public void setBehaviorCorrect(Integer behaviorCorrect){
        this.behaviorCorrect=behaviorCorrect;
    }
    /** 技巧训练 */
    public Integer getSkillTraining(){
        return this.skillTraining;
    }
    /** 技巧训练 */
    public void setSkillTraining(Integer skillTraining){
        this.skillTraining=skillTraining;
    }
    /** 创建时间 */
    public Date getCtime(){
        return this.ctime;
    }
    /** 创建时间 */
    public void setCtime(Date ctime){
        this.ctime=ctime;
    }
    /** 更新时间 */
    public Date getUtime(){
        return this.utime;
    }
    /** 更新时间 */
    public void setUtime(Date utime){
        this.utime=utime;
    }
}